package org.leiyang.common.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 离线消息集
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OffLineMsgsVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 消息集
     */
    private List<MsgDTO> msgs;

    /**
     * 对应的channelID
     */
    private String channelId;

    /**
     * 是否是在线消息的发送
     */
    private Boolean onlineMsg;
}
